<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>称量结果</title>
    <style type="text/css">
        fieldset{
            padding:10px;
            margin:5px;
            border:1px solid #ccc;
        }
        legend{
            padding:.0px;
            border:0;
            width:auto;
            margin-bottom: 0;
            font-size: large;
        }
        .col-md-12 {
            padding-left: 5px;
            padding-right: 5px;
        }
    </style>
</head>
<body class="row">
    <form class="col-md-12">
        <fieldset>
            <legend>物料</legend>
            <div class="col-md-12">
                <div class="col-md-4">
                    <label for="materialResultCode">物料代码：</label>
                    <span id="materialResultCode"></span>
                </div>
                <div class="col-md-4">
                    <label for="materialCodeName">物料名称：</label>
                    <span id="materialCodeName"></span>
                </div>
                <div class="col-md-4">
                    <label for="theoreticalQuanity">理论数量：</label>
                    <span id="theoreticalQuanity"></span>
                </div>
            </div>
        </fieldset>
        <fieldset>
            <legend>称量结果</legend>
            <div class="bootstrap-table table col-md-12" style="padding-left: 0;padding-right: 0;">
                <div class="table-responsive col-md-12" style="margin-top: 5px;">
                    <table id="weighResultList" data-toggle="table"
                           data-click-to-select="true"
                           data-striped="true"
                           data-pagination="false"
                           data-row-style="rowStyle"
                           data-cell-style="cellStyle"
                           data-unique-id="id"
                           data-height="170">
                        <thead>
                        <tr>
                            <th data-field="id" data-visible="false"></th>
                            <th data-field="packageNo">件号</th>
                            <th data-field="batchNo">批号</th>
                            <th data-field="purity">折纯</th>
                            <th data-field="grossWeight">毛重</th>
                            <th data-field="quantity">净重</th>
                            <th data-field="tare">皮重</th>
                            <th data-field="symbol">单位</th>
                            <th data-field="timestamp">时间</th>
                            <th data-field="operator">操作人</th>
                            <th data-formatter="operateFormatter" data-events="operateEvents">打印</th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </fieldset>
        <div class="form-group">
            <div class="col-md-12" style="margin-top:10px;">
                <!--<div class="col-md-6" style="text-align: center">-->
                    <!--<button type="button" id="weighResultConfirm" class="btn btn-primary" onclick="weighResultConfirm()">确定</button>-->
                <!--</div>-->
                <div class="col-md-12" style="text-align: center">
                    <button type="button" id="weighResultCancel" class="btn btn-lg btn-primary">确定</button>
                </div>
            </div>
        </div>
    </form>
</body>
</html>